#ifndef ACTIONATTACK_H_
#define ACTIONATTACK_H_

#include "Action.h"
#include "LivingEntity.h"
#include "debug.h"
#include <iostream>
#include "Memory.h"

class ActionAttack: virtual public Action
{
	protected:
	Entity * executer__ ;
	std::pair<Entity*,Memory::meminfo_t> p_target__ ;
	float timeToSend__ ;
	bool cancel__;
	float timeToAttack__;

	public:
	ActionAttack();
	virtual ~ActionAttack();

	virtual bool execute(Entity* executer);
	
	virtual bool checkConditions() ;
};

#endif

